#pragma once

#include "ConsolePrerequisites.h"
#include "LazySingleton.h"

class CConsoleSystem
{
private:	CConsoleSystem();
public:		SIMPLE_LAZY_SINGLETON(CConsoleSystem);

	bool					Initialize( IConsoleScreen * pConsoleScreen, CCommandHistory *pHistory = NULL );
	bool					Execute( const csString & strCommandLine );
	bool					Execute( CCommand *pCommand, const CArgumentList & args );


private:
	IConsoleScreen *		m_pConsoleScreen;
	CCommandHistory *		m_pCommandHistory;
};


